import { WalkthroughType } from "./WalkthroughType";
import { Language } from "../../../../extend/language/Language";
type int = number;
//class WalkthroughSubType
    
    export  class WalkthroughSubType
    {
        

        public static getSubTypeArrayByType(arg1: int): Array<any>
        {
            var loc1=[];
            if (arg1 != WalkthroughType.LevelUp) 
            {
                if (arg1 != WalkthroughType.Grow) 
                {
                    if (arg1 != WalkthroughType.Boing) 
                    {
                        if (arg1 != WalkthroughType.Money) 
                        {
                            if (arg1 == WalkthroughType.Acc) 
                            {
                                loc1.push({"index": 1, "type": WalkthroughSubType.CacheSet, "desc": Language.getString(51058)});
                                loc1.push({"index": 2, "type": WalkthroughSubType.PingSet, "desc": Language.getString(51059)});
                            }
                        }
                        else 
                        {
                            loc1.push({"index": 1, "type": WalkthroughSubType.MoneyMake, "desc": Language.getString(51057)});
                        }
                    }
                    else 
                    {
                        loc1.push({"index": 1, "type": WalkthroughSubType.BoingPlay, "desc": Language.getString(51056)});
                    }
                }
                else 
                {
                    loc1.push({"index": 1, "type": WalkthroughSubType.GrowEquip, "desc": Language.getString(51054)});
                    loc1.push({"index": 2, "type": WalkthroughSubType.GrowPet, "desc": Language.getString(51055)});
                }
            }
            else 
            {
                loc1.push({"index": 1, "type": WalkthroughSubType.LevelDaily, "desc": Language.getString(51052)});
                loc1.push({"index": 2, "type": WalkthroughSubType.LevelEase, "desc": Language.getString(51053)});
            }
            return loc1;
        }

        public static getDescBySubType(arg1: int): string
        {
            var loc1=null;
            if (arg1 != WalkthroughSubType.LevelDaily) 
            {
                if (arg1 != WalkthroughSubType.LevelEase) 
                {
                    if (arg1 != WalkthroughSubType.GrowEquip) 
                    {
                        if (arg1 != WalkthroughSubType.GrowPet) 
                        {
                            if (arg1 != WalkthroughSubType.BoingPlay) 
                            {
                                if (arg1 == WalkthroughSubType.MoneyMake) 
                                {
                                    loc1 = Language.getString(51065);
                                }
                            }
                            else 
                            {
                                loc1 = Language.getString(51064);
                            }
                        }
                        else 
                        {
                            loc1 = Language.getString(51063);
                        }
                    }
                    else 
                    {
                        loc1 = Language.getString(51062);
                    }
                }
                else 
                {
                    loc1 = Language.getString(51061);
                }
            }
            else 
            {
                loc1 = Language.getString(51060);
            }
            return loc1;
        }

        public static /* var */LevelDaily: int=11;

        public static /* var */LevelEase: int=12;

        public static /* var */GrowEquip: int=21;

        public static /* var */GrowPet: int=22;

        public static /* var */BoingPlay: int=31;

        public static /* var */MoneyMake: int=41;

        public static /* var */CacheSet: int=51;

        public static /* var */PingSet: int=52;
    }

            WalkthroughSubType.LevelDaily = 11;
            WalkthroughSubType.LevelEase = 12;
            WalkthroughSubType.GrowEquip = 21;
            WalkthroughSubType.GrowPet = 22;
            WalkthroughSubType.BoingPlay = 31;
            WalkthroughSubType.MoneyMake = 41;
            WalkthroughSubType.CacheSet = 51;
            WalkthroughSubType.PingSet = 52;
        